<?php
/**
 * Шаблон страницы ввода покупок.
 *
 * @author Костин Алексей Васильевич aka Volt(220)
 * @copyright Copyright (c) 2010, Костин Алексей Васильевич
 * @license http://www.gnu.org/licenses/gpl-3.0.html GNU Public License
 * @version 1.0
 * @package HomeMoney
 * @subpackage Templates
 */
?>

<div id='mainCont'>
<form>
<table class="noBor">
<tr>
	<td>Название</td>
	<td>Категория</td>
	<td>Количество</td>
	<td>Цена</td>
	<td>Сумма</td>
</tr>
<tr>
	<td><input id="item" type="text" size="30" /></td>
	<td><input id="cat" type="text" size="20" /></td>
	<td><input id="col" class="num" type="text" size="8" /></td>
	<td><input id="cena" class="num" type="text" size="8" /></td>
	<td><input id="sum" class="num" type="text" size="10" /></td>
</tr>
</table>
<p><input type="button" value="Добавить" id="addRow" /></p>
</form>
<form id="mainForm" method="post" action="/controllers/addBuy.php">
<table id="buys">
<tr>
	<td>№</td>
	<td>Наименование</td>
	<td>Категория</td>
	<td>Количество</td>
	<td>Цена</td>
	<td>Сумма</td>
	<td>Действие</td>
</tr>
</table>

<table class="noBor">
<tr>
	<td>Дата</td>
	<td>Магазин</td>
	<td>Адрес</td>
	<td>Сумма</td>
</tr>
<tr>
	<td><input id="date" name="date" class="num" type="text" size="15" /></td>
	<td><input id="shop" name="shop" type="text" size="30" /></td>
	<td><input id="addr" name="addr" type="text" size="50" /></td>
	<td><input id="sumB" name="sumB" class="num" type="text" size="10" value="0" /></td>

</tr>
</table>
<p><input type="submit" value="Оформить" /></p>
</form>
<div id="rezDiv"></div>
</div>
